package com.woniuxy.exam.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.woniuxy.commons.entity.TrueOrFalse;
import com.woniuxy.exam.mapper.TrueOrFalseMapper;
import com.woniuxy.exam.service.TrueOrFalseService;

import java.util.List;

/**
@author zouyang
@date 2020/7/25 - 17:03
*/
@Service
public class TrueOrFalseServiceImpl implements TrueOrFalseService{

    @Resource
    private TrueOrFalseMapper trueOrFalseMapper;

    @Override
    public List<TrueOrFalse> selectAll() {
        return trueOrFalseMapper.selectAll();
    }

    @Override
    public int insertList(List<TrueOrFalse> list) {
        return trueOrFalseMapper.insertList(list);
    }

    @Override
    public List<TrueOrFalse> selectByAll(TrueOrFalse trueOrFalse) {
        return trueOrFalseMapper.selectByAll(trueOrFalse);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return trueOrFalseMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TrueOrFalse record) {
        return trueOrFalseMapper.insert(record);
    }

    @Override
    public int insertSelective(TrueOrFalse record) {
        return trueOrFalseMapper.insertSelective(record);
    }

    @Override
    public TrueOrFalse selectByPrimaryKey(Integer id) {
        return trueOrFalseMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TrueOrFalse record) {
        return trueOrFalseMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TrueOrFalse record) {
        return trueOrFalseMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Integer> selectIdByBankId(Integer bankId) {
        return trueOrFalseMapper.selectIdByBankId(bankId);
    }

}
